package ModelLayer;


/**
 * Write a description of class PartOrder here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class PartOrder
{
    // instance variables - replace the example below with your own
    private int quantity;
    private Product product;

    /**
     * Constructor for objects of class PartOrder
     */
    public PartOrder(int _quantity, Product _product)
    {
        // initialise instance variables
        quantity = _quantity;
        product = _product;
    }
    
    public int getQuantity()
    {
        return quantity;
    }
    
    public Product getProduct()
    {
        return product;
    }
}
